package marca;

import java.sql.SQLException;
import java.util.ArrayList;

public interface IMarca {
	public void adicionar(Marca marca) throws ClassNotFoundException, SQLException;

	public void editar(Marca marca) throws ClassNotFoundException, SQLException;

	public void remover(int idMarca) throws ClassNotFoundException, SQLException;

	public int existe(int idMarca)throws ClassNotFoundException, SQLException;

	public Marca pesquisar(int idMarca)throws ClassNotFoundException, SQLException;

	public ArrayList<Marca> listar()throws ClassNotFoundException, SQLException;
	
	public ArrayList<Marca> listar(int idTipo)throws ClassNotFoundException, SQLException;
	
	public ArrayList<Marca>  listar(String nome)throws ClassNotFoundException, SQLException;
	

	
}
